import request from '@/utils/request'

// 查询学生帮扶列表
export function listStudent_ssistance(query) {
  return request({
    url: '/employment/student_ssistance/list',
    method: 'get',
    params: query
  })
}

// 查询学生帮扶详细
export function getStudent_ssistance(id) {
  return request({
    url: '/employment/student_ssistance/' + id,
    method: 'get'
  })
}

// 新增学生帮扶
export function addStudent_ssistance(data) {
  return request({
    url: '/employment/student_ssistance',
    method: 'post',
    data: data
  })
}

// 修改学生帮扶
export function updateStudent_ssistance(data) {
  return request({
    url: '/employment/student_ssistance',
    method: 'put',
    data: data
  })
}

// 删除学生帮扶
export function delStudent_ssistance(id) {
  return request({
    url: '/employment/student_ssistance/' + id,
    method: 'delete'
  })
}

export function add_transfer(data) {
  return request({
    url: '/employment/assistance_transfer',
    method: 'post',
    data: data
  })
}

export function list_assistanceIds() {
  return request({
    url: '/employment/assistance/all',
    method: 'get',
  })
}

